{# One stored page in the drawer: what was fetched, its markdown and raw HTML, and the assets it names. #} {% from "components/macros/layout.html" import badge, card, code_block, dialog_title, facts, tabbed, tab_panel %} {% from "components/macros/table.html" import data_table %}
No markdown stored.
{% endif %}{% endcall %} {% call tab_panel("html", "markdown") %}{% if page.html %}{{ code_block(page.html, wrap=True) }}{% else %}No HTML stored.
{% endif %}{% endcall %} {% call tab_panel("assets", "markdown") %} {{ data_table([ {"key": "url", "label": "URL", "kind": "code"}, {"key": "type", "label": "Type"}, {"key": "size", "label": "Size", "align": "right"}, {"key": "status", "label": "Status", "kind": "status"}, ], assets, empty="No assets on this page") }} {% endcall %} {% endcall %}